package com.yz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yz.mapper.StatisticMapper;
import com.yz.service.StatisticService;

/**
 * 资源统计表实现类
 * @author 于万伟
 *
 */
@Service
public class StatisticServiceImpl implements StatisticService{
	@Autowired
	StatisticMapper statisticMapper;

	@Override
	public void updateStaInfoNum(int rid) {
		// TODO Auto-generated method stub
	}

	@Override
	public boolean insert() {
		return statisticMapper.insert();
	}

	@Override
	public List<Integer> getPeopleNum(String min, String max) {
		return statisticMapper.getPeopleNum(min, max);
	}

	@Override
	public List<String> getReadroomName(String min, String max) {
		return statisticMapper.getReadroomName(min, max);
	}
}
